﻿using System;
namespace Producers.Arireg.Xtee.Riik.Ee.Producer.Arireg {
    
    
    public partial class MtakapitalidKapitalrida : global::Producers.Arireg.Xtee.Riik.Ee.Producer.Arireg.IMtakapitalidKapitalrida {
        
        private System.Decimal? @__reaId;
        
        private System.Decimal? @__ark;
        
        private string @__maxKapital;
        
        private System.DateTime? @__algusKpv;
        
        private System.DateTime? @__loppKpv;
        
        public MtakapitalidKapitalrida() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public MtakapitalidKapitalrida(System.Decimal? @reaId, System.Decimal? @ark, string @maxKapital, System.DateTime? @algusKpv, System.DateTime? @loppKpv) {
            this.@__reaId = @reaId;
            this.@__ark = @ark;
            this.@__maxKapital = @maxKapital;
            this.@__algusKpv = @algusKpv;
            this.@__loppKpv = @loppKpv;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected MtakapitalidKapitalrida(IMtakapitalidKapitalrida @mtakapitalidKapitalrida) {
            this.@__reaId = @mtakapitalidKapitalrida.ReaId;
            this.@__ark = @mtakapitalidKapitalrida.Ark;
            this.@__maxKapital = @mtakapitalidKapitalrida.MaxKapital;
            this.@__algusKpv = @mtakapitalidKapitalrida.AlgusKpv;
            this.@__loppKpv = @mtakapitalidKapitalrida.LoppKpv;
        }
        
        public virtual System.Decimal? ReaId {
            get {
                return this.@__reaId;
            }
            set {
                this.@__reaId = value;
            }
        }
        
        public virtual System.Decimal? Ark {
            get {
                return this.@__ark;
            }
            set {
                this.@__ark = value;
            }
        }
        
        public virtual string MaxKapital {
            get {
                return this.@__maxKapital;
            }
            set {
                this.@__maxKapital = value;
            }
        }
        
        public virtual System.DateTime? AlgusKpv {
            get {
                return this.@__algusKpv;
            }
            set {
                this.@__algusKpv = value;
            }
        }
        
        public virtual System.DateTime? LoppKpv {
            get {
                return this.@__loppKpv;
            }
            set {
                this.@__loppKpv = value;
            }
        }
    }
}
